package com.qfmy.model.entity.novel;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 清风明月
 * @Package com.qfmy.model.entity
 * @date 2025/4/13
 * @description 小说排行榜实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class BookRanking {
    @Schema(description = "排行榜记录ID")
    private Integer rankingId;
    
    @Schema(description = "小说ID")
    private Integer bookId;
    
    @Schema(description = "排行榜类型 0:人气榜 1:日人气榜 2:周人气榜 3:月人气榜")
    private Integer rankingType;
    
    @Schema(description = "小说排名")
    private Integer ranking;
    
    @Schema(description = "创建时间")
    private Date createTime;
    
    @Schema(description = "更新时间")
    private Date updateTime;
}